/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/*
 * frmLogin.java
 *
 * Created on Jan 30, 2012, 8:28:32 PM
 */

package SIMRS.Apotek.view;

import usu.widget.Form;

/**
 *
 * @author Joe
 */
public class frmLogin extends Form {

    /** Creates new form frmLogin */
    public frmLogin() {
        initComponents();
        setIconImage(new javax.swing.ImageIcon(getClass().getResource("/SIMRS/Apotek/gambar/icon.png")).getImage());
    }

    /** This method is called from within the constructor to
     * initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is
     * always regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        pnlLogin1 = new SIMRS.Apotek.widget.pnlLogin();
        txtIdUser = new SIMRS.Apotek.widget.TextBox();
        txtPassword = new SIMRS.Apotek.widget.PasswordBox();
        label1 = new SIMRS.Apotek.widget.Label();
        label2 = new SIMRS.Apotek.widget.Label();
        btnLogin = new SIMRS.Apotek.widget.button2();

        setTitle(".: Form Login");
        setAnimationHide(usu.widget.constan.Animation.HIDE_TO_RIGHT);
        setAnimationShow(usu.widget.constan.Animation.SHOW_FROM_LEFT);

        pnlLogin1.setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());
        pnlLogin1.add(txtIdUser, new org.netbeans.lib.awtextra.AbsoluteConstraints(270, 170, 120, -1));
        pnlLogin1.add(txtPassword, new org.netbeans.lib.awtextra.AbsoluteConstraints(270, 220, 120, -1));

        label1.setForeground(new java.awt.Color(255, 255, 255));
        label1.setText("Password");
        pnlLogin1.add(label1, new org.netbeans.lib.awtextra.AbsoluteConstraints(200, 220, -1, -1));

        label2.setForeground(new java.awt.Color(255, 255, 255));
        label2.setText("Id User");
        pnlLogin1.add(label2, new org.netbeans.lib.awtextra.AbsoluteConstraints(200, 180, -1, -1));

        btnLogin.setIcon(new javax.swing.ImageIcon(getClass().getResource("/SIMRS/Apotek/gambar/bt_login.png"))); // NOI18N
        btnLogin.setText("Login");
        pnlLogin1.add(btnLogin, new org.netbeans.lib.awtextra.AbsoluteConstraints(300, 260, 100, 30));

        getContentPane().add(pnlLogin1, java.awt.BorderLayout.CENTER);

        java.awt.Dimension screenSize = java.awt.Toolkit.getDefaultToolkit().getScreenSize();
        setBounds((screenSize.width-585)/2, (screenSize.height-373)/2, 585, 373);
    }// </editor-fold>//GEN-END:initComponents


    // Variables declaration - do not modify//GEN-BEGIN:variables
    private SIMRS.Apotek.widget.button2 btnLogin;
    private SIMRS.Apotek.widget.Label label1;
    private SIMRS.Apotek.widget.Label label2;
    private SIMRS.Apotek.widget.pnlLogin pnlLogin1;
    private SIMRS.Apotek.widget.TextBox txtIdUser;
    private SIMRS.Apotek.widget.PasswordBox txtPassword;
    // End of variables declaration//GEN-END:variables

}
